<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@taglib prefix="s" uri="/struts-tags"%>
 <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
			<div id="title"></div>
					
				
				
				<div id="navigate">
					
					<ul>
					<s:iterator id="topicList_1" value="#request.topicList">
						<li><a href="index?newsinfo.topic.id=${topicList_1.id}">${topicList_1.name}</a></li>
					</s:iterator>
						
					</ul>
				</div>
				
				<div id="news_list">
					<br />
					<table align="center">
						<tr>
							
							<th colspan="2">${newsinfo.title}</th>
							
						</tr>
						<tr>
							<td colspan="2"><hr /></td>
						</tr>
						<tr>
							<td width="100px;">作者:</td>
							<td>${newsinfo.author}</td>
						</tr>
						<tr>
							<td>类型:</td>
							<td>${newsinfo.topic.name }</td>
						</tr>
						<tr>
							<td>发布时间:</td>
							<td>${newsinfo.createDate }</td>
						</tr>
						<tr>
							<td colspan="3"><hr /></td>
						</tr>
						<tr>
							<td>摘要:</td>
							<td>${newsinfo.summary}</td>
						</tr>
						<tr>
							<td>内容:</td>
							<td>${newsinfo.content }</td>
						</tr>
						<tr>
							<td colspan="2"><hr /></td>
						</tr>
					</table>
					
				</div>
				
				
					
				 	
				
</body>
</html>